const menuList = [
  {
    id: '1',
    type: '1',
    icon: 'ep:home-filled',
    label: '首页',
    title: '首页',
    key: '/Home',
    status: '1',
  },
  {
    id: '6',
    status: '1',
    type: '1',
    key: '/sys',
    icon: 'ep:setting',
    label: '系统管理',
    title: '系统管理',
    children: [
      {
        id: '7',
        status: '1',
        type: '2',
        icon: 'ep:avatar',
        label: '角色管理',
        title: '角色管理',
        key: '/sys/Role',
        children: [
          {
            id: '8',
            status: '1',
            type: '3',
            icon: '',
            label: '新增',
            title: '',
            key: 'add',
          },
          {
            id: '9',
            status: '1',
            type: '3',
            icon: '',
            label: '修改',
            title: '修改',
            key: 'put',
          },
        ],
      },
      {
        id: '10',
        status: '1',
        type: '2',
        icon: 'ep:user-filled',
        label: '用户管理',
        title: '用户管理',
        key: '/sys/User',
      },
      {
        id: '11',
        status: '1',
        type: '2',
        icon: 'ep:document',
        label: '菜单管理',
        title: '菜单管理',
        key: '/sys/Menu',
      },
    ],
  },
  {
    id: '12',
    status: '1',
    type: '1',
    icon: 'ep:document',
    label: '功能',
    title: '功能',
    key: '/Function',
    children: [
      {
        id: '13',
        status: '1',
        type: '2',
        icon: 'ep:document',
        label: '文件上传',
        title: '文件上传',
        key: '/Function/Fileupload',
      },
      {
        id: '15',
        status: '1',
        type: '2',
        icon: 'ep:document',
        label: '固定高度虚拟滚动',
        title: '固定高度虚拟滚动',
        key: '/Function/Virtual',
      },
      {
        id: '16',
        status: '1',
        type: '2',
        icon: 'ep:document',
        label: 'gard布局',
        title: 'gard布局',
        key: '/Function/Layout/GridLayout',
      },
      {
        id: '17',
        status: '1',
        type: '2',
        icon: 'ep:document',
        label: '数字转换成分个',
        title: '固定高度虚拟滚动',
        key: '/Function/Input/feg',
      },
    ],
  },
  {
    id: '2api',
    status: '1',
    type: '1',
    icon: 'ep:document',
    label: 'api',
    title: 'api',
    key: '/API',
    children: [
      {
        id: '21',
        status: '1',
        type: '2',
        icon: 'raphael:apps',
        label: 'api',
        title: 'api',
        key: '/API/FZY',
      },
    ],
  },
];
export default [
  {
    url: '/api/menu',
    method: 'get',
    response: () => {
      return {
        code: 200,
        data: {
          list: menuList,
          total: menuList.length,
        },
      };
    },
  },
  {
    url: '/api/menu',
    method: 'post',
    response: () => {
      return {
        code: 200,
        data: {
          code: 200,
          msg: '添加成功',
        },
      };
    },
  },
]; //
